import request from '@/utils/request'
// 查询参数列表
// 新增参数配置


//本班
export function allStudentByClass(data) {
  return request({
    url: '/business/student/allStudentByClass',
    method: 'get',
    params: data
  })
}

//未导入
export function allStudentByAbsentClass(data) {
  console.log("===============================");
  console.log(data);
  return request({
    url: '/business/student/allStudentByAbsentClass',
    method: 'get',
    params: data
  })
}

//导入
export function distributionStudent(data) {
  return request({
    url: '/business/cameraInfo/distributionStudent',
    method: 'post',
    data: data
  })
}

//导出
export function deleteStudent(data) {
  return request({
    url: '/business/cameraInfo/deleteStudent',
    method: 'post',
    data: data
  })
}

//取消新增
export function delectStudentInfo(data) {
  return request({
    url: '/business/student/delectStudentInfo',
    method: 'post',
    data: data
  })
}

// 确定新增
export function addStudent(data) {
  return request({
    url: '/business/student/addStudent',
    method: 'post',
    data: data
  })
}

//确认完善资料
export function improveInfo(data) {
  return request({
    url: '/business/student/improveInfo',
    method: 'post',
    data: data
  })
}

// 查询历史班级
export function classHistory(data) {
  return request({
    url: '/business/student/selectClassInfoByHistory',
    method: 'post',
    data: data
  })
}

// 删除
export function delStudent(data) {
  return request({
    url: '/business/student/delete',
    method: 'post',
    data: data
  })
}
